package com.fenghongzhang.kotlin1903

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.fenghongzhang.kotlin1903.fragment.HomeFragment

class IndexActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_index)

        supportFragmentManager.beginTransaction().add(R.id.fg_container,HomeFragment()).commit()

    }
}
